#pragma once
#include "ColorPlane.h"
#include  "MyImage.h"



class BarGraph
{
public:
	BarGraph();
	BarGraph(ColorPlane* Plane);
//	void Create(ColorPlane* Plane);
	double GetEqualize(double temp);
	double GetInvEq(double temp);
	int* GetK(int &K);
	~BarGraph();

protected:
	//void Sort_();
	int Size;
	int Size_plane;
	int* Graph;
};
